gdkframeclockidle: Don't permanently skew frame time
authorChris Williams <chrisaw1990@gmail.com>
Tue, 9 Apr 2019 20:26:25 +0000 (16:26 -0400)
committerChris Williams <chrisaw1990@gmail.com>
Tue, 9 Apr 2019 20:26:25 +0000 (16:26 -0400)
commit0bf4c2420dbc318052a9e561af6bc2eefdb9e7a1
tree08eb1a326a97029255d9050485cb508b5eabfba6
parentf813bc182322994edd87f33496303d934ec6680d
gdkframeclockidle: Don't permanently skew frame time

Since commit 3b2f9395, the frame time may be set into the future, so
only ensure monotonicity, and don't store the offset. This prevents the
frame time from becoming out of sync with g_get_monotonic_time().

Fixes #1612
gdk/gdkframeclockidle.c